package io.xxx.xbutler.core.callback;

import io.xxx.xbutler.domain.Callback;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * 设置群内昵称回调
 *
 * <pre>
 * {
 *     "nType": 4009,
 *     "vcMerchantNo": "",
 *     "vcRobotWxId": "",
 *     "vcRobotSerialNo": "",
 *     "vcSerialNo": "",
 *     "nResult": 1,
 *     "vcResult": "SUCCESS",
 *     "Data": {}
 * }
 * </pre>
 */
@Slf4j
@Component
public class _4009Handler implements CallbackHandler {

    @Override
    public String name() {
        return "设置群内昵称回调";
    }

    @Override
    public boolean supports(int type) {
        return type == 4009;
    }

    @Override
    public void handle(Callback callback) {

    }
}
